package com.qf.cqut.model.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 
 * @TableName a_food
 */
@Data
public class AFood implements Serializable {
    /**
     * 
     */
    private String id;

    /**
     * 
     */
    private String createBy;

    /**
     * 
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss",timezone = "UTC+8")
    private LocalDateTime createTime;

    /**
     * 
     */
    private Integer delFlag = 0;

    /**
     * 
     */
    private String updateBy;

    /**
     * 
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss",timezone = "UTC+8")
    private LocalDateTime updateTime;

    /**
     * 
     */
    private String content;

    /**
     * 
     */
    private String image;

    /**
     * 
     */
    private String remark;

    /**
     * 
     */
    private Integer stock;

    /**
     * 
     */
    private String title;

    /**
     * 
     */
    private String type;

    private static final long serialVersionUID = 1L;
}